!function(e){var t={};function a(s){if(t[s])return t[s].exports;var n=t[s]={i:s,l:!1,exports:{}};return e[s].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=t,a.d=function(e,t,s){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:s})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var s=Object.create(null);if(a.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(s,n,function(t){return e[t]}.bind(null,n));return s},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=0)}([function(e,t,a){"use strict";function s(e,t,a){const s=()=>{"function"==typeof bssFixSupportRemoveLabelWhenVariantChange&&bssFixSupportRemoveLabelWhenVariantChange()&&e(".bss-variant").find(".bss_pl_img").remove(),e(".bss_pl_img:has([bss-config-id])").remove(),e(".bss_pb_img:has([bss-config-id])").remove(),(a||BSS_PL.page.isProductPage())&&e("a").removeAttr("data-bss-pl"),BSS_PL.firstLoad=!0,BSS_PL.init()},n=()=>{e(".bss_pb_img:has([bss-config-id][is-variant-label].bss-pb-stock)").remove(),(a||BSS_PL.page.isProductPage())&&e("a").removeAttr("data-bss-pl"),BSS_PL.firstLoad=!0,BSS_PL.init()};if(-1===[28230,23542,26406].indexOf(BSS_PL.storeId)){let e=document.querySelectorAll(BSS_PL.helper.getSelectorVariantPicker().join(","));const o=BSS_PL.plan.PLATINUM||t||a?s:n;let i;const r=()=>{e.forEach(e=>{e.querySelectorAll("input, option, select").forEach(e=>{e.removeEventListener("change",l),e.addEventListener("change",l)})})},l=()=>{i&&clearTimeout(i),i=setTimeout(o,250)};r();const c=new MutationObserver(()=>{let t=document.querySelectorAll(BSS_PL.helper.getSelectorVariantPicker().join(","));t.length!==e.length&&(e=t,r())});e.length>0&&c.observe(document.body,{childList:!0,subtree:!0})}}function n(e,t,a,s){const n=[".cart-item",".cart__row",".cart-page__item",".cart-row",".cart__table-row",".ajax-cart__item-image__wrapper",".line-item",".cart__card"];e.each(s,(function(t,s){let o,i=a[0].variant.split(",");for(let t of n)if(e(s).closest(t).length){o=e(s).closest(t);break}if(o&&o.length){let t=o.find('a[href*="variant"]');if(t.length){let a=e(t[0]).attr("href").split("=")[1];i.includes(a)&&s.setAttribute("id-variant",a)}}}))}function o(e,t,a,s){let o="",i={baseImgUrl:BSS_PL.apiServerProduction+"/images/"+BSS_PL.storeId+"/240/"};function r(t,r=!1){let l=[];9518==BSS_PL.storeId&&BSS_PL.ssvn_firstload&&window.location.pathname.includes("/collections")||BSS_PL.settingsData.disableLiquidSearch||r?(l=t,"string"==typeof l&&(l=JSON.parse(t))):l=JSON.parse(t);let c=document.querySelectorAll('#label-product-metafields-info, [id^="main-label-product-metafields-info"]');if(c.length){if(19917==BSS_PL.storeId&&"collections"==a&&!l.length){const e=window.boostSDFallback.products;e.length&&e.map(e=>{const t={id:e.id,title:e.title,tags:e.tags,handle:e.handle,available:e.available,inventory:null,compare_at_price_max:e.compare_at_price_max,compare_at_price_min:e.compare_at_price_min,price:e.price,price_max:e.price_max,price_min:e.price_min,publish_at:e.published_at,inventory_management:null,inventory_policy:null,inventory_quantity:null,variants:e.variants,collections:null,format_money:"¥{{amount_no_decimals}}"};l.push(t)})}d=l,c.forEach(e=>{let t=JSON.parse(e.innerText);d.some(e=>e.id==t.id)&&48771!==BSS_PL.storeId&&45952!==BSS_PL.storeId||d.push(t)})}var d;if(l=l.filter(e=>null!==e.price&&null!==e.available),l.length){if("products"==a){let t=e(BSS_PL.const.ALL_IMAGE_SELECTOR.join(", "));"function"==typeof bssFixSupportAllImageElement&&(t=bssFixSupportAllImageElement(e,a,t)),t.map((function(t,n){const i=e(n);let r=!1;(i.closest('.site-header, header, [data-section-id="header"], .collection-products').length||i.is(".secondary-media.lazyautosizes.lazyloaded")||i.is(".global-media-settings")||Shopify.theme.name.includes("Dawn")&&i.closest(".section-featured-product").length||i.closest(".bss_pl_img").length&&i.hasClass("bss-pl-frontend")||i.closest(".bss_pb_img").length&&i.hasClass("bss-pb-frontend")||i.closest("[gp-el-wrapper]").length||i.closest("gp-lite-youtube-embed").length||i.closest(".complementary-slide").length)&&(r=!0),"function"==typeof bssFixSupportMainProductImage&&(o=bssFixSupportMainProductImage(e,n,o,s,a),r=!0),r||(i.parent().attr("data-handle",s),""==o&&(o=i.parent()))}))}let t;9518==BSS_PL.storeId&&(t=window.getSharedMysticalDictCache()),l.map((function(s){i.collects=s.collections;let r=s.handle;encodeURI(r)!=r&&(r=encodeURI(r)),"function"==typeof bssFixSupportDecodeItemHandle&&(r=bssFixSupportDecodeItemHandle(e,a,r));let l=[];if(l=9518==BSS_PL.storeId?t[r]||[]:BSS_PL.FSProductGrid&&BSS_PL.FSProductGrid.length?BSS_PL.FSProductGrid.find(`[data-handle="${r}"]:not(".meganav__product"):not([class$="autoketing"]), [data-handle="${r}"]:not(".product__modal-opener")`):e(`[data-handle="${r}"]:not([class*="meganav"], [class$="autoketing"], [class*="breadcrumb"]):not(".product__modal-opener, .product__view-details, .jdgm-full-rev__product-wrapper")`),"function"==typeof bssFixSupportGetParents&&(l=bssFixSupportGetParents(e,a,l,r)),BSS_PL.page.isBeaeBuilderPage()){let t=e(".beae-product-form.beae-product-form--single"),a=t.attr("data-handle");t.find(".beae-product-single__media--featured img.beae-image-default").parent().attr("data-handle",a),l=e(`[data-handle="${a}"], [data-handle="${r}"]`)}"function"==typeof bssFixSupportProductParent&&(l=bssFixSupportProductParent(e,a,l,r));let c=l[0];e(c).hasClass("product__info-container")&&"products"!==a&&(c="");let d="object"==typeof window.GP&&e("gp-product gp-product-images-v2").length;BSS_PL.configs.label&&BSS_PL.configs.label.length&&!d&&BSS_PL.initForLabel(e,BSS_PL,l,c,s,i),BSS_PL.configDataLabelGroup.length&&BSS_PL.initForLabelGroup(e,BSS_PL,l,c,s,i),BSS_PL.configs.badgeProductImage&&BSS_PL.configs.badgeProductImage.length&&!d&&(BSS_PL.page.isCartPage()&&n(e,BSS_PL,BSS_PL.configs.badgeProductImage,l),BSS_PL.initForBadgeProductImage(e,BSS_PL,l,s,i,c)),BSS_PL.configs.badgeName&&BSS_PL.configs.badgeName.length&&!d&&(BSS_PL.page.isCartPage()&&n(e,BSS_PL,BSS_PL.configs.badgeName,l),BSS_PL.initForBadgeProductName(e,BSS_PL,l,s,i,c)),BSS_PL.configs.badgePrice&&BSS_PL.configs.badgePrice.length&&!d&&BSS_PL.initForBadgePrice(e,BSS_PL,l,s,i,c),BSS_PL.configs.badgeCustomSelector&&BSS_PL.configs.badgeCustomSelector.length&&BSS_PL.initForBadgeCustomSelector(e,BSS_PL,l,s,i,o),BSS_PL.configs.badgeAddToCart&&BSS_PL.configs.badgeAddToCart.length&&BSS_PL.initForBadgeAddToCartBtn(e,BSS_PL,l,s,i,c),BSS_PL.configs.badgeQuantityBox&&BSS_PL.configs.badgeQuantityBox.length&&BSS_PL.initForBadgeQuantityBox(e,BSS_PL,l,s,i,c),BSS_PL.configs.badgeBuyItNow&&BSS_PL.configs.badgeBuyItNow.length&&BSS_PL.initForBadgeBuyItNowBtn(e,BSS_PL,l,s,i,c),BSS_PL.LabelStyle.calculateLabelTextAngle(e),BSS_PL.LabelStyle.calculateBadgeHeight(e)}))}}function l(e){return new Promise((t,a)=>{const s=new XMLHttpRequest;s.open("GET",e),s.onload=()=>function(e,t,a,s){try{200===e.status?a({item:t,data:JSON.parse(e.response)}):s(new Error(`Failed to fetch data from ${t}: ${e.status}`))}catch(e){s(new Error(e.message))}}(s,e,t,a),s.onerror=()=>a(new Error("Failed to fetch data from "+e)),s.send()})}function c(t){if("function"==typeof bssFixSupportCompetitiveWithJquery)bssFixSupportCompetitiveWithJquery(r,t);else{if(BSS_PL.settingsData.disableLiquidSearch&&54879==BSS_PL.storeId){const e=t.map(l);return Promise.allSettled(e).then(e=>{r(e.filter(e=>"fulfilled"===e.status).map(e=>e.value.data),!1)})}9518==BSS_PL.storeId&&BSS_PL.ssvn_firstload&&"undefined"!=typeof bss_product_data?(r(bss_product_data,!1),BSS_PL.ssvn_firstload=!1):e.get(t,e=>r(e))}}if(BSS_PL.plWorker&&54879!=BSS_PL.storeId){if(!BSS_PL.helper.getHandleBySearchQuery(t)){return void(document.querySelectorAll("#label-product-metafields-info, #main-label-product-metafields-info").length&&r([],!0))}BSS_PL.plWorker.onmessage=e=>{const{type:a,data:s}=e.data;if("success"===a){r(s,!0)}else"error"===a&&(c(t),console.error("Worker error:",s.message))},BSS_PL.plWorker.postMessage({action:"getProductData",data:`${window.location.origin}${t}`})}else c(t)}function i(e,t){let a=[],s=[],n=BSS_PL.page.getPageName(),i=BSS_PL.page.getHandleProductPage();if("function"==typeof bssFixSupportHandleProductPage&&(i=bssFixSupportHandleProductPage()),e.each(t,(t,o)=>{const r=e(o);if(function(e,t,a){const s=e(a);return!!s.hasClass("inline-item")||(!!s.hasClass("grid-link__title")||(!!s.hasClass("menu-navigation__item")||(!!s.hasClass("mobile-nav__link")||(!!s.hasClass("drawer__nav-link")||(!!s.parent().hasClass("product-navigation")||(!!s.hasClass("breadcrumb_link")||(!!s.hasClass("page__navigation-item")||(!!s.hasClass("mini-cart__product-vendor")||(!!s.hasClass("mini-cart__product-title")||(!(!s.hasClass("thumbnail")||!s.hasClass("slick-slide"))||(!(!s.hasClass("button-main2")||!s.hasClass("animated"))||(!!s.hasClass("banner-full-link")||(!!s.hasClass("site-nav__link")||(!!s.parent().parent().hasClass("product-single__description")||(!!(s.parent().hasClass("product-title")&&s.hasClass("chp")&&s.hasClass("cd"))||(!(!s.hasClass("thumbnail")||!s.hasClass("thumbnail--media-image"))||(!!s.hasClass("show-gallery")||(!!s.hasClass("ssw-review-title")||(!!s.parent().hasClass("cart-mini-item-title")||(!(!s.parent().hasClass("product-next")&&!s.parent().hasClass("product-prev"))||(!!s.parent().hasClass("thumbItem")||(!(!s.hasClass("product-gallery__link")||!s.is("a"))||(!(!s.hasClass("jas_bg")||!s.parent().hasClass("hover-img"))||(!!s.parent("#gallery").length||(!!("noopener noreferrer"==s.attr("rel")&&"_blank"==s.attr("target")||s.parent().is("span")||s.parent().parent().parent().hasClass("reading-container"))||(!!s.hasClass("ly-languages-switcher-link")||(!!s.closest("div.rte").find("em").length||(!!s.parent(".mini_cart_item").length||(!!s.parent("li[data-thumb]").length||(!(!s.hasClass("product-page--next")||!s.hasClass("right"))||(!!s.hasClass("clicker-thumb")||(!!s.hasClass("product-single__thumbnails-item")||(!!s.parent().hasClass("breadcrumbs")||(!!s.parent().hasClass("page-navigation-arrows")||(!!s.closest(".tmenu_submenu").length||(!!s.parent().hasClass("product-description__no-expand")||(!!s.hasClass("bubble-product-link")||(!!s.closest(".promo_banner__content").length||(!(!s.hasClass("product-page--previous")&&!s.hasClass("product-page--next"))||(!(!s.hasClass("standard-link")&&!s.hasClass("more-link"))||(!!s.closest("#slidecarthq, #CartContainer, .social-sharing").length||"function"==typeof bssFixSupportExcludeItem&&bssFixSupportExcludeItem(e,t.page.getPageName(),a))))))))))))))))))))))))))))))))))))))))))}(e,BSS_PL,o))return;r.attr("data-bss-pl","active"),"function"==typeof bssFixSupportProductItemEle&&(o=bssFixSupportProductItemEle(e,n,o));let l=r.attr("href");"function"==typeof bssFixSupportProductUrl&&(l=bssFixSupportProductUrl(e,BSS_PL,n,l,o));let c=BSS_PL.helper.getHandleByUrl(l);if((r.hasClass("product__media-wrapper")||r.hasClass("product__image-wrapper"))&&e("#shopify-section-product-template").length){const t=r.parent();if(t.hasClass("product__media-container")||t.hasClass("product__image-container")){const t=e("#shopify-section-product-template").find("meta[itemprop='url']").attr("content");c=BSS_PL.helper.getHandleByUrl(t)}}if((r.hasClass("product-image__link")&&r.find(".product-media-wrapper").length&&e("#shopify-section-product-template").length||r.hasClass("nt-pr_metro-image-equal")||r.hasClass("product__thumb")&&e("#shopify-section-product-template").length||r.hasClass("product-single__photo-zoom")&&e(".section--product-single").length||r.hasClass("main-img-link")&&r.parent().hasClass("product-media--image")||r.hasClass("js-modal-open-product-modal")&&e("#shopify-section-product-template").length||r.hasClass("product-gallery__thumbnail")&&e(".product-gallery__thumbnail-list").length)&&(c=i),"function"==typeof bssFixSupportItemHandle&&(c=bssFixSupportItemHandle(e,n,c,i,l,o)),c){-1!==c.indexOf("#Reviews")&&(c=c.slice(0,c.indexOf("#Reviews"))),-1==e.inArray(c,a)&&(a.push(c),s.push('handle:"'+decodeURIComponent(c)+'"'));let t=window.location.href.includes("/cart")&&!window.location.href.includes("/collections/")&&!window.location.href.includes("/products/");if(t)if(r.hasClass("cart__image"))if(r.parent().hasClass("cart__cell--image")||r.parent().hasClass("grid__item")){let t=r.parent().find("img");e(t).parent(":not(.bss_pl_img)").css({position:"relative",display:"block"}).attr("data-handle",c)}else r.find(".rimage").attr("data-handle",c);else if(r.hasClass("cart-image")&&r.parent().hasClass("grid-item")||r.find(".cart__image-wrapper").length&&r.parent().hasClass("grid__item")){let t=r.parent().find("img");e(t).parent(":not(.bss_pl_img)").css({position:"relative",display:"block"}).attr("data-handle",c)}else{if(r.closest("td").find("img").length){let t=r.closest("td").find("img");e(t).parent(":not(.bss_pl_img)").css({position:"relative"}).attr("data-handle",c),(r.hasClass("link-image")&&r.parent().hasClass("cart__table-cell")||r.find(".cart__image").length&&r.parent().hasClass("cart__table-cell--image")||r.hasClass("cart__product-title")&&r.parent().hasClass("list-view-item__title"))&&e(t).parent(":not(.bss_pl_img)").css({display:"block"})}else if(r.closest(".featured-product").find("img").length){let t=r.closest(".featured-product").find("product-info");e(t).attr("data-handle",c)}else r.parent(":not(.bss_pl_img)").attr("data-handle",c);"function"==typeof bssFixSupportItemHandle&&(c=bssFixSupportItemHandle(e,n,c,i,l,o,t))}else r.hasClass("list-view-item")&&r.find(".list-view-item__image-wrapper").length?r.find(".list-view-item__image-wrapper").attr("data-handle",c):r.hasClass("grid-link")&&r.find(".product__img-wrapper").length?r.find(".product__img-wrapper").attr("data-handle",c):r.hasClass("grid-link")&&r.parent().hasClass("product-container")?r.parent().attr("data-handle",c):r.hasClass("product__thumb")&&e("#shopify-section-product-template").length&&e("#shopify-section-product-template").find(".product__main-photos").length?e("#shopify-section-product-template").find(".product__main-photos").attr("data-handle",c):r.hasClass("ls-p-url")?r.find(".ls-p-img-div").attr("data-handle",c):r.closest(".card-wrapper").length?(r.parent().attr("data-handle",c),r.closest(".card-wrapper").find(".card__inner").attr("data-handle",c)):e(".ecom-builder").length&&r.hasClass("ecom-collection__product-item--inner")&&r.closest(".ecom-collection__product-media-wrapper").length?r.parent().attr("data-handle",c):window.location.pathname.includes("/rapid-search-results")&&r.find(".rps-product-image-container").length?r.find(".rps-product-image-container").attr("data-handle",c):("function"==typeof bssFixSupportItemHandle&&(c=bssFixSupportItemHandle(e,n,c,i,l,o,t)),r.parent().attr("data-handle",c))}}),"function"==typeof bssFixSupportDefaultFirstLoadProduct&&bssFixSupportDefaultFirstLoadProduct()&&(BSS_PL.firstLoad=!0),BSS_PL.page.isProductPage()&&-1==e.inArray(i,a)&&BSS_PL.firstLoad)a.push(i),s.push('handle:"'+decodeURIComponent(i)+'"');else if(BSS_PL.page.isBeaeBuilderPage()){const t=e(".beae-product-form").attr("data-handle");a.push(t),s.push('handle:"'+t+'"')}if(a.length){"function"==typeof bssFixSupportFilterDataHandle&&({handles:a,handlesUrl:s}=bssFixSupportFilterDataHandle(e,BSS_PL,n,a,s));let t="/search?q="+s.join(" OR ")+"&type=product&view=bss.product.labels",r=encodeURI(t);31321==BSS_PL.storeId&&(r=t);let l=Math.round(s.length/2),c=s.length;if(r=r.replace(/#product-reviews/g,"").replace(/#judgeme_product_reviews/g,"").replace(/#content/g,"").replace(/#spetses-2/g,"").replace(/#/g,""),54879==BSS_PL.storeId)t=a.map(e=>`/products/${e}.js`),BSS_PL.settingsData.disableLiquidSearch=!0,o(e,t,n,i);else if("function"==typeof bssFixSupportTwoPartsEncodeDataHandle){const{firstHalf:t,secondHalf:a}=bssFixSupportTwoPartsEncodeDataHandle(e,BSS_PL,s,c,l);o(e,t,n,i),o(e,a,n,i)}else if(BSS_PL.page.isBeaeBuilderPage()){const t=[encodeURI("/search?q="+s.splice(c-1).join(" OR ")+"&view=bss.product.labels"),encodeURI("/search?q="+s.splice(0,c-1).join(" OR ")+"&view=bss.product.labels")].map(e=>e.replace(/#product-reviews/g,"").replace(/#judgeme_product_reviews/g,""));Promise.all([o(e,t[0],n,i),o(e,t[1],n,i)])}else if("function"==typeof bssFixSupportManyPartsEncodeDataHandle){const t=bssFixSupportManyPartsEncodeDataHandle(e,BSS_PL,s);if(BSS_PL.enableScrollToSearch){let a=0;t.reverse(),function s(){if(a{e.isIntersecting&&(a.includes(e.target)||BSS_PL.listItems.includes(e.target)||(a.push(e.target),BSS_PL.listItems.push(e.target)),t.unobserve(e.target))}),a.length&&i(BSS_PL.$,a)}function l(){onmessage=async e=>{const{action:t,data:a}=e.data;if("getProductData"===t)try{const e=new URL(a),t=await fetch(e,{mode:"cors"});if(!t.ok)throw new Error("Network response was not ok");const s=await t.json();postMessage({type:"success",data:s})}catch(e){postMessage({type:"error",data:e})}}}function c(){if(window.Worker&&!BSS_PL.plWorker){const e=l.toString(),t=new Blob([`(${e})()`],{type:"application/javascript"}),a=URL.createObjectURL(t);BSS_PL.plWorker=new Worker(a),sessionStorage.setItem("bss-pl_ww",a)}}function d(e){const t=(e={},t)=>{let a=e.configData,n="undefined"!=typeof Shopify&&Shopify.routes?window.location.pathname.replace(Shopify.routes.root,"").split("/"):window.location.pathname.split("/");const o=n.length>1?n[n.length-2]:n[0];o&&void 0!==e.const.PAGES[o]&&(a=a.filter(t=>t.pages&&t.pages.split(",").includes(e.const.PAGES[o])||t.check_include_custom_page&&t.include_custom_page)),a=e.integration.getConfigCompatibleLangify(a),a.length&&(e.configs={label:a.filter(e=>1==e.label_type||null==e.label_type),badgeName:a.filter(e=>2==e.label_type&&0==e.badge_type),badgeProductImage:a.filter(e=>2==e.label_type&&1==e.badge_type),badgeCustomSelector:a.filter(e=>2==e.label_type&&2==e.badge_type),badgePrice:a.filter(e=>2==e.label_type&&3==e.badge_type),badgeAddToCart:a.filter(e=>2==e.label_type&&4==e.badge_type),badgeQuantityBox:a.filter(e=>2==e.label_type&&5==e.badge_type),badgeBuyItNow:a.filter(e=>2==e.label_type&&6==e.badge_type)},e.$=t,function(e,t){let a=t.page.getPageName(),n=!0;if(t.firstLoad=!0,t.listItems=[],t.settingsData.enableIntersection=!1,"function"==typeof bssFixSupportDisableLabelScripts&&bssFixSupportDisableLabelScripts())return;let o=["customer-reviews"];if("function"==typeof bssFixSupportExcludedPage&&(o=bssFixSupportExcludedPage()),-1!==o.indexOf(a))return;t.init=()=>{const s='a[href*="/products/"]:not([data-bss-pl=active]):not(.action-link)';let o=t.FSProductGrid&&t.FSProductGrid.length?t.FSProductGrid.find(s):e(s);const l=/.+\..+/g;if(o=o.filter((e,t)=>{const a=new URL(t.href).pathname;return t.href&&!l.test(a)}),"function"==typeof bssFixSupportProductLinks&&(o=bssFixSupportProductLinks(e,t,o)),void 0!==t.configData&&t.configData.length){if(o.length||t.firstLoad){let s=e(".featured-product a").length;if("function"==typeof bssFixSupportDisableIntersectionOnProductPage&&(s=bssFixSupportDisableIntersectionOnProductPage()),Shopify&&function(e){const t=e.toLowerCase();return["Debut","Dawn","Ride","Refresh","Craft","Sense","Taste","Origin","Studio","Crave","Publisher","Colorblock","Spotlight","Trade"].some(e=>t.includes(e.toLowerCase()))}(Shopify.theme.schema_name||Shopify.theme.name)&&!s&&(t.settingsData.enableIntersection=!0),t.settingsData.enableIntersection&&!t.page.isCartPage()){"products"===a&&t.handleMainProductDataByPageUrl(a);let e=new IntersectionObserver(r,{root:null,rootMargin:"0px 0px 100px 0px",threshold:.3});o.each((function(t,a){e.observe(this)}))}else i(t.$,o);if("undefined"!=typeof __pagefly_setting__&&n||e("gp-product gp-product-images-v2").length){const a=['div[data-pf-type="ProductImage2"]:not([bss-pl-product-active])','div[data-pf-type="ProductImage"]:not([bss-pl-product-active])','[data-pf-type="ProductMedia"] [data-media-type="image"]:not([bss-pl-product-active])','div[data-pf-type="ProductMedia2"]:not([bss-pl-product-active])',"gp-product gp-product-images-v2"].join(", ");e(a).length&&(t.integration.initPageFlyAdapter(e,t),n=!1)}t.firstLoad=!1,"function"==typeof bssFixSupportStyleCountdownDisplay&&bssFixSupportStyleCountdownDisplay()}if(("collections"==a||51199==t.storeId||52662===t.storeId)&&t.configData.some(e=>e.collection_image_type&&e.collection_image)){const a=t.collectionImg.getCollectionsItems(e);9518==t.storeId&&window.requestIdleCallback?window.requestIdleCallback((function(){window.emptyMysticalDictCache(),t.collectionImg.addCollectionsDataHandle(e,a)}),{timeout:window.recommendedIdleTimeout||300}):t.collectionImg.addCollectionsDataHandle(e,a)}}},"function"==typeof bssFixSupportMainLabelRunScript&&bssFixSupportMainLabelRunScript(e,t,a,()=>{});let l=t.common.getTimeoutLoadFunction(e,t);if(setTimeout(()=>{if("blogs"!==a&&(t.init(),!t.settingsData.enableIntersection)){const e=()=>{"function"==typeof bssFixSupportDisableInitScroll&&bssFixSupportDisableInitScroll()||t.init()},a=t.helper.debounce(e,300);window.addEventListener("scroll",a)}},l),t.page.isCartPage()){if(!t.configData.some(e=>e.pages.includes("5")))return;setTimeout(()=>{(a=>{const s=e(a);if(s.length){const a={childList:!0,subtree:!0};let n=new MutationObserver(e=>{for(const a of e)"childList"!==a.type||Array.from(a.addedNodes).some(e=>e.matches&&e.matches(".bss_pb_img, .bss_pl_img"))||(t.firstLoad=!0,t.init())});e(s).each((function(e,t){n.observe(t,a)}))}})('form[action="/cart"]')},1e3)}t.helper.initForFastSimon();const c=["%7Binventory%7D","%7Binventory_quantity%7D","%7Bsale%7D","%7Bsale_amount%7D"],d=t.configData.some(e=>e.label_text_enable&&c.includes(e.label_text));let p=e('[class*="featured-product"]').length>0;(p||d||"products"==a)&&s(e,d,p),t.plan.ADVANCED&&t.common.handleShowCountDown(),"function"==typeof bssFixSupportReInitLabel&&bssFixSupportReInitLabel(e,t,n,()=>{},"")}(t,e),!e.countryCode&&e.plan.ADVANCED&&e.helper.bssGetCountryCode(e,t),c())};"undefined"==typeof jQuery||-1==e.helper.compareVersion(jQuery.fn.jquery,"1.7")||"function"==typeof bssFixSupportLoadJquery&&bssFixSupportLoadJquery()?e.helper.bssProductLabelLoadScript("//ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js",()=>{const a=jQuery.noConflict(!0);t(e,a)}):t(e,jQuery)}if(a.r(t),BSS_PL.handleMainProductDataByPageUrl=e=>{if(BSS_PL.firstLoad){let t=BSS_PL.page.getHandleProductPage(),a=`/search?q=handle:"${decodeURIComponent(t)}"&type=product&view=bss.product.labels`,s=encodeURI(a);o(BSS_PL.$,s,e,t)}},9518==BSS_PL.storeId){window._sharedMysticalDataHandle=null,window.getSharedMysticalDictCache=function(e=!1){if(window._sharedMysticDataHandle&&!e)return window._sharedMysticDataHandle;var t=performance.now(),a=document.querySelectorAll('[data-handle]:not(.meganav__product):not([class$="autoketing"])'),s=performance.now();console.log("query all:",s-t,"ms");var n,o,i=(n="data-handle",o={},a.forEach((function(e){var t=e.getAttribute(n);o[t]?o[t].push(e):o[t]=[e]})),o);return console.log("build dict",performance.now()-s,"ms"),i},window.emptyMysticalDictCache=function(){window._sharedMysticalDataHandle=null}}null!=BSS_PL&&(BSS_PL.configData.length||BSS_PL.configDataLabelGroup.length)&&function(e,t){const a=setInterval(()=>{const t=document.querySelector('script[id*="bss-pl-config-data"]');window.bssScriptsLoaded&&t&&(e(),clearInterval(a))},t)}(()=>{console.log("%c 🚀🎯 BSS PL Init 🚀🎯 ","font-weight: 600; font-size: 12px; background: rgb(105,58,180); background: linear-gradient(117deg, rgba(105,58,180,1) 0%, rgba(253,29,29,1) 50%, rgba(90,69,252,1) 100%); color: #ffffff; padding: 4px 5px; border-radius: 15px"),d(BSS_PL)})}]);